include_directories (
	${OPENGL_INCLUDE_PATH}
	${GLEW_INCLUDE_DIR}
)

link_libraries (
	${OPENGL_gl_LIBRARY}
	${GLEW_glew_LIBRARY}
)

add_executable (wglthreads wglthreads.c)
add_executable (wgl_sharedtex_mt sharedtex_mt.c)
set_target_properties (wgl_sharedtex_mt PROPERTIES OUTPUT_NAME sharedtex_mt)

add_executable (wglinfo wglinfo.c)
add_executable (wglcontext wglcontext.c)

install (TARGETS wglthreads wgl_sharedtex_mt wglinfo DESTINATION wgl)

add_subdirectory (rtotex)
